<?php
	function my_autoload($class_name) {
		$lib = SYS_PATH.'classes'.SEPARATOR.strtolower($class_name).'.class.php';

		if(is_file($lib))
			include($lib);
		elseif(is_file($class_name))
			include($class_name);
	}
        spl_autoload_register("my_autoload");
?>